package top.infopub.mgr.bpa.service;

import com.github.pagehelper.Page;
import top.infopub.dto.bpa.SettlePlanListDto;
import top.infopub.generic.GenericService;
import top.infopub.mgr.bpa.jsonVo.SettlePlanDetailJsonVo;
import top.infopub.mgr.common.vo.RspVo;
import top.infopub.model.bpa.SettlePlan;
import top.infopub.security.vo.AuthorizationVO;

/**
 * 结算策划
 */
public interface BpaSettlePlanService extends GenericService<SettlePlan, String> {

    /**
     * 根据条件查询分页记录
     * @param page
     * @return
     * @see
     */
    Page<SettlePlanListDto> selectByDomainWhere(Page<SettlePlanListDto> page, SettlePlan settlePlan);

    /**
     * 进去详情页面  查看
     */
    SettlePlanDetailJsonVo getDetail(String id);

    /**
     * 新增记录
     * @see
     */
    RspVo save(SettlePlanDetailJsonVo detailJson, Integer submitType, AuthorizationVO vo);
}
